<?php
class Admin_Form_Select extends Admin_Form_Widget
{
  protected
    $choices;
  
  public function configure()
  {
    if (isset($this->options['choices']))
    {
      $this->choices = $this->options['choices'];
      unset($this->options['choices']);
    }
  }
  
  public function __toString()
  {
    return select_tag($this->getName(), options_for_select((array) $this->choices, $this->value, $this->options), $this->html_options);
  }
}